@extends('default.layouts.personalPublic')
@section('title')简历管理@endsection
{{--CSS部分--}}
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/personal/resumeMange.css')}}">
    <link rel="stylesheet" type="text/css" href="{{asset('/vendor/webuploader/dist/webuploader_img.css')}}">
@endsection
{{--右边主体内容部分--}}
@section('rightcon')
    <div class="right">
        {{--简历主体内容--}}
        <div class="mainCon" id="mainCon">
            {{--</div>--}}
            {{--基本信息--}}
            <a name="basicInfo"></a>
            <div class="resumeMange basicInfo" id="basicInfo" style="margin-top: 0px;">
                {{--基本信息修改前样式--}}
                    <div class="basicInfoCon">
                    <div class="bLfet">
                        <div class="frame" id="avatar">
                            <span class="editavatar">{{ trans('english.avatar') }}</span>
                            <img src="{{ $reArr['avatar'] }}"/>
                        </div>
                    </div>
                    <div class="bRight">
                        <div class="basicName">
                            <div class="resumeTit">
                                <h2>{{ $reArr['name'] }}</h2>
                                <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                            </div>
                        </div>
                        <div class="bInfo">
                            <ul>
                                <li><i class="sex"></i><span class="sexs">{{ $reArr['sex'] }}</span></li>
                                <li><i class="age"></i><span class="birthday">{{ $reArr['birthday'] }}</span>&nbsp{{ trans('english.year') }}</li>
                                <li><i class="work"></i><span
                                            class="work_year">{{ $reArr['work_year']  or 'No experience'  }}</span></li>
                                <li><i class="map"></i><span
                                            class="homeaddress">{{ $reArr['homeaddress']  or 'The unknown'  }}</span></li>
                            </ul>
                            <dl>
                                <dt>{{ trans('english.jobStatus') }}：111</dt>
                                <dd><span class="jobStatus">{{ $reArr['job_status'] }}</span></dd>
                                <dt>{{ trans('english.highest') }}：</dt>
                                <dd><span class="education">{{ $reArr['education'] }}</span></dd>
                            </dl>
                            <dl class="suppl">
                                <dt>{{ trans('english.marital') }}：</dt>
                                <dd><span class="marital">{{ $reArr['marital'] or 'not filled' }}</span></dd>
                                <dt>{{ trans('english.household') }}：</dt>
                                <dd><span class="census">{{ $reArr['census'] or 'not filled' }}</span></dd>
                                <dt>{{ trans('english.height') }}：</dt>
                                <dd><span class="height">{{ $reArr['height'] or 'not filled' }}</span></dd>
                            </dl>

                        </div>
                        <div class="contact">
                            <div class="info">
                                <i class="m"></i><strong class="mobile">{{ $reArr['mobile'] }}</strong><em
                                        class="phoneAddr">（<span
                                            class="phoneAddress">{{ $reArr['phoneAddress']  or 'The unknown'  }}</span>）</em>
                            </div>
                            <div class="bEmail">{{ trans('english.mailbox') }}：<span class="email">{{ $reArr['email'] or 'not filled' }}</span></div>
                        </div>
                    </div>
                </div>
                {{--基本信息修改后样式--}}
                <div class="basicInfoInput">
                    <form action="{{url("personal/english/resume_basic")}}" method="post" name="basicForm" id="basicForm">
                        {{csrf_field()}}
                        <input type="hidden" name="resume_id" id="resume_id" value=""/>
                        <div class="iTitle"><h2>{{ trans('english.basicDocument') }}</h2></div>
                        <div class="iCon">
                            {{--基本资料--}}
                            <dl>
                                <dt><span class="caption">{{ trans('english.name') }}</span><span class="asterisk">*</span></dt>
                                <dd><input type="text" class="names" name="name" id="name" value="" style="width: 120px;"
                                           placeholder="{{ trans('english.PleaseName') }}"
                                           tip="{{ trans('english.PleaseName') }}"/></dd>
                                <dd class="errinfo" id="errers"></dd>
                            </dl>

                            <dl>
                                <dt><span class="caption">{{ trans('english.sex') }}</span><span class="asterisk">*</span></dt>
                                <dd>
                                    <span>
                                        <input type="radio" name="sex" id="sex1" class="radios" value="1"/>
                                        <label for="sex1">man</label>
                                    </span>
                                     <span class="mLeftTen">
                                        <input type="radio" name="sex" id="sex2" class="radios" value="2"/>
                                        <label for="sex2">woman</label>
                                    </span>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.handSon') }}</span></dt>
                                <dd>
                                    <input id="work_year" name="work_year" type="hidden">
                                    <div id="work_year_select" class="select" style="width: 160px;"><span><a></a></span><i></i>
                                    </div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.dateOfBirth') }}</span><span class="asterisk">*</span></dt>
                                <dd>
                                    <div class="showTime" id="showTime">
                                        <input name="birthday" id="birthday" type="hidden" value="">
                                    </div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>

                            <dl>
                                <dt><span class="caption">{{ trans('english.livingPlace') }}</span><span class="asterisk">*</span></dt>
                                <dd>
                                    <input id="homeaddress" name="homeaddress" type="hidden" value="">
                                    <input id="province" name="province" type="hidden">
                                    <div id="province_select" class="select" style="width: 120px;">
                                        <span><a></a></span><i></i></div>
                                    <input id="area" name="area" type="hidden">
                                    <div id="area_select" class="select" style="margin-left: 5px; width: 120px;">
                                        <span><a></a></span><i></i></div>
                                    <input id="city" name="city" type="hidden">
                                    <div id="city_select" class="select" style="margin-left: 5px; width: 120px;">
                                        <span><a></a></span><i></i></div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.jobStatus') }}</span><span class="asterisk">*</span></dt>
                                <dd>
                                    <input id="job_status" name="job_status" type="hidden">
                                    <div id="job_status_select" class="select" style="width: 200px;">
                                        <span><a></a></span><i></i>
                                    </div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>

                            <dl>
                                <dt><span class="caption">{{ trans('english.highest') }}</span><span class="asterisk">*</span></dt>
                                <dd>
                                    <input id="education" name="education" type="hidden">
                                    <div id="education_select" class="select" style="width:100px;">
                                        <span><a></a></span><i></i></div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.detailedAddress') }}</span></dt>
                                <dd>
                                    <input type="text" style="width:320px;" name="address" id="address" value=""
                                           tip="{{ trans('english.PleaseAddress') }}" placeholder="{{ trans('english.PleaseAddress') }}"/>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>

                            {{--更多补充信息--}}
                            <div class="supplement">
                                <div class="moreInfo">
                                    <span class="info">{{ trans('english.additional') }}<i></i></span>
                                </div>
                            </div>

                            <dl>
                                <dt><span class="caption">{{ trans('english.household') }}</span></dt>
                                <dd>
                                    <input id="census" name="census" type="hidden" value="">
                                    <input id="censusProvince" name="censusProvince" type="hidden">
                                    <div id="censusProvince_select" class="select" style="width: 120px;">
                                        <span><a></a></span><i></i></div>
                                    <input id="censusArea" name="censusArea" type="hidden">
                                    <div id="censusArea_select" class="select" style="margin-left: 5px; width: 120px;">
                                        <span><a></a></span><i></i></div>
                                    <input id="censusCity" name="censusCity" type="hidden">
                                    <div id="censusCity_select" class="select" style="margin-left: 5px; width: 120px;">
                                        <span><a></a></span><i></i></div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.marital') }}</span></dt>
                                <dd>
                                    <input id="marital" name="marital" type="hidden">
                                    <div id="marital_select" class="select" style="width:140px;">
                                        <span><a></a></span><i></i></div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.height') }}</span></dt>
                                <dd>
                                    <input type="text" style="width:90px;" name="height" id="height"
                                           value="" placeholder="{{ trans('english.PleaseHeight') }}"/>
                                    <span style="margin-left: 5px;">cm</span>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                        </div>


                        {{--相框--}}
                        <div class="iFrame">
                            <div class="frame" id="upavatar">
                                <span class="editavatar">{{ trans('english.avatar') }}</span>
                                <img src="{{asset("/default/images/personal/headPortrait.jpg")}}"/>
                            </div>
                            <div class="chkPhoto">
                                <input type="checkbox" name="chkphoto_open" class="chkphoto_open" id="chkphoto_open"
                                       value="1"/>
                                <label for="chkphoto_open">{{ trans('english.hidePhotos') }}</label>
                            </div>
                        </div>

                        {{--联系方式--}}
                        <div class="iTitle"><h2>{{ trans('english.contactWay') }}</h2></div>
                        <div class="iCon iConOther">
                            <dl>
                                <dt><span class="caption">{{ trans('english.cellPhone') }}</span><span class="asterisk">*</span></dt>
                                <dd><input type="text" name="mobile" id="mobile" value="{{ old('mobile') }}"
                                           placeholder="{{ trans('english.PleasePhone') }}" tip="{{ trans('english.PleasePhone') }}"/></dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.mailbox') }}</span><span class="asterisk">*</span></dt>
                                <dd><input type="text" name="email" id="email" value="{{ old('email') }}"
                                           placeholder="{{ trans('english.PleaseEmail') }}" tip="{{ trans('english.PleaseEmail') }}"/></dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">QQ</span></dt>
                                <dd><input type="text" name="qq" id="qq" value="{{ old('qq') }}"
                                           placeholder="{{ trans('english.PleaseQQ') }}"/></dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl style="margin-top:20px;">
                                <dt></dt>
                                <dd><input name="btn" class="btn save" id="save" type="submit" value="{{ trans('english.conservation') }}"></dd>
                                <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                           onclick="cancel('.basicInfoCon','.basicInfoInput',$(this))"></dd>
                            </dl>
                        </div>
                    </form>
                </div>
            </div>
            {{--求职意向--}}
            <a name="objective"></a>
            <div class="resumeMange objective">
                <div class="resumeTit">
                    <h2>{{ trans('english.jobInTension') }}</h2>
                    <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                </div>
                {{--求职意向修改前样式--}}
                <div class="objectiveCon">
                    <dl>
                        <dt>{{ trans('english.Intention') }}:</dt>
                        <dd><span class="intentionjobs">{{ str_limit($reArr['intentionjobs'],40) }}</span></dd>
                    </dl>
                    <dl>
                        <dt>{{ trans('english.jobCategory') }}:</dt>
                        <dd><span class="jobsort">{{ str_limit($reArr['jobsort'],40) }}</span></dd>
                    </dl>
                    <dl>
                        <dt>{{ trans('english.salary') }}:</dt>
                        <dd><span class="expectedsalary">
                                @if($reArr['isexpectedsalary'])
                                    negotiable
                                @else
                                    {{ $reArrEn['expectedsalary'] }}
                                @endif
                            </span>
                        </dd>
                    </dl>
                    <dl>
                        <dt>{{ trans('english.workplace') }}:</dt>
                        <dd><span class="jobarea">{{ str_limit($reArr['jobarea'],40) }}</span></dd>
                    </dl>
                </div>
                {{--求职意向修改后样式--}}
                <div class="resumeMangeInput objectiveInput">
                    <form action="{{url("personal/english/resume_objective")}}" method="post" name="objectiveForm"
                          id="objectiveForm">
                        {{csrf_field()}}
                        <input type="hidden" name="resume_id" id="resume_id" value=""/>
                        <div class="iCon iConOther">
                            {{--求职意向--}}
                            <dl>
                                <dt><span class="caption">{{ trans('english.Intention') }}</span><span class="asterisk">*</span></dt>
                                <dd><input type="text" class="jobEn" name="intentionjobs" id="intentionjobs"
                                           value="" placeholder="{{ trans('english.PleaseIntention') }}" tip="{{ trans('english.PleaseIntention') }}"/></dd>
                                <dd class="errinfo" id="errJobs"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.operational') }}</span><span class="asterisk">*</span></dt>
                                <input name="jobarea1" type="hidden" id="jobarea1" value="">
                                <input name="jobarea2" type="hidden" id="jobarea2" value="">
                                <input name="jobarea3" type="hidden" id="jobarea3" value="">
                                <input name="jobarea4" type="hidden" id="jobarea4" value="">
                                <input name="jobarea5" type="hidden" id="jobarea5" value="">
                                <dd>
                            <span class="jList" onClick="workplaceInput('','type')">
                                <input type="text" name="workplace" id="workplace" value="{{old('workplace')}}" readonly
                                       style="cursor: text"
                                       placeholder="{{ trans('english.PleaseArea') }}"/>
                                <i></i>
                            </span>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.operatingPost') }}</span><span class="asterisk">*</span></dt>
                                <input name="jobsort1" type="hidden" id="jobsort1" value="">
                                <input name="jobsort2" type="hidden" id="jobsort2" value="">
                                <input name="jobsort3" type="hidden" id="jobsort3" value="">
                                <input name="jobsort4" type="hidden" id="jobsort4" value="">
                                <input name="jobsort5" type="hidden" id="jobsort5" value="">
                                <dd>
                            <span class="jList" onClick="posCateInput('')">
                                <input type="text" name="jobsort" id="jobsort" value="" readonly style="cursor: text"
                                       placeholder="{{ trans('english.PleaseJob') }}"/>
                                <i></i>
                            </span>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>
                            <dl>
                                <dt><span class="caption">{{ trans('english.Salary') }}</span></dt>
                                <dd>
                                    <input id="expectedsalary" name="expectedsalary" type="hidden">
                                    <div id="expectedsalary_select" class="select" >
                                        <span><a></a></span><i></i></div>
                                    <span style="float: left; margin-left: 5px;">Yuan/Month</span>
                                    <div class="isexpectedsalary"><input type="checkbox" class="checkBox"
                                                                         name="isexpectedsalary" id="isexpectedsalary"
                                                                         value="1">
                                        <label for="isexpectedsalary">According to negotiable</label></div>
                                </dd>
                                <dd class="errinfo"></dd>
                            </dl>

                            <dl style="margin-top:20px;">
                                <dt></dt>
                                <dd><input name="btn" class="btn save" type="submit" value="{{ trans('english.conservation') }}"></dd>
                                <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                           onclick="cancel('.objectiveCon','.objectiveInput',$(this))"></dd>
                            </dl>
                        </div>
                    </form>
                </div>
            </div>
            {{--自我评价--}}
            <a name="selfEvaluation"></a>
            <div class="resumeMange selfEvaluation">
                <div class="resumeTit">
                    <h2>{{ trans('english.evaluation') }}</h2>
                    <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                </div>
                {{--自我评价修改前样式--}}
                <div class="resumeMangeCon selfEvaluationCon">
                    <div class="listCon">
                        <div class="listLeft"><span class="listTime">{{ trans('english.evaluation') }}</span></div>
                        <div class="listCenter">
                            <div class="info" style="padding-top: 0px;">
                                <div class="con" style="margin-top: 0px;">{{ $reArr['introduction'] }}</div>
                            </div>
                        </div>
                    </div>
                </div>
                {{--自我评价修改后样式--}}
                <div class="resumeMangeInput selfEvaluationInput">
                    <form action="{{url("personal/english/resume_objective")}}" method="post" name="evaluationForm"
                          id="evaluationForm">
                        {{csrf_field()}}
                        <input type="hidden" name="resume_id" id="resume_id" value=""/>

                        <div class="iCon iConOther">
                            <dl style=" height:100px;">
                                <dt style=" height: 100px;"><span class="caption">{{ trans('english.evaluation') }}</span></dt>
                                <dd style=" height: 100px;"><textarea style=" width: 394px; height: 88px;"
                                                                      name="introduction" id="introduction"
                                                                      placeholder="{{ trans('english.PleaseSkills') }}"
                                                                      tip="{{ trans('english.PleaseSkills') }}"></textarea></dd>
                                <dd class="errinfo" id="inTrod"></dd>
                            </dl>
                            <dl style="margin-top:20px;">
                                <dt></dt>
                                <dd><input name="btn" class="btn save" type="submit" value="{{ trans('english.conservation') }}"></dd>
                                <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                           onclick="cancel('.selfEvaluationCon','.selfEvaluationInput',$(this))"></dd>
                            </dl>
                        </div>
                    </form>
                </div>
            </div>

            {{--工作经历--}}
            <a name="worker"></a>
            <div class="resumeMange worker">
                <div class="resumeTit">
                    <h2>{{ trans('english.workExperience') }}</h2>
                    <span class="resumeEdit resumeAdd"><a><i></i>{{ trans('english.append') }}</a></span>
                </div>
                {{--工作经历修改前样式--}}
                <div class="resumeMangeCon workerCon">
                    <div class="workerExp">
                        <div class="workerInput">
                            <form action="{{url("personal/english/add_work_exp")}}" method="post" name="workForm"
                                  id="workForm">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <input type="hidden" name="otype" id="otype" value=""/>
                                <input type="hidden" name="id" id="id" value=""/>
                                <div class="iCon iConOther workInpCon">
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.companyName') }}</span><span class="asterisk">*</span></dt>
                                        <dd style="width:316px;"><input type="text" name="company" id="company"
                                                                        style="width:300px;"
                                                                        value="" placeholder="{{ trans('english.pleaseCompany') }}"
                                                                        tip="{{ trans('english.pleaseCompany') }}"/></dd>
                                        <dd class="errinfo" id="comerr"></dd>
                                    </dl>

                                    <dl>
                                        <dt><span class="caption">{{ trans('english.NatureBusiness') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <input id="comkind" name="comkind" type="hidden">
                                            <div id="comkind_select" class="select" style="width: 160px;">
                                                <span><a></a></span><i></i></div>
                                        </dd>
                                        <dd class="errinfo"></dd>
                                    </dl>
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.scale') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <input id="scale" name="scale" type="hidden">
                                            <div id="scale_select" class="select"><span><a></a></span><i></i></div>
                                        </dd>


                                        <dd class="errinfo"></dd>
                                    </dl>

                                    <dl>
                                        <dt><span class="caption">{{ trans('english.industry') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <input id="industry" name="industry" type="hidden">
                                            <div id="industry_select" class="select" style="width: 260px;">
                                                <span><a></a></span><i></i></div>
                                        </dd>
                                        <dd class="errinfo"></dd>
                                    </dl>
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.timePosition') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <div class="showStart showTime" id="showStart">
                                                <input name="starttime" id="starttime" type="hidden" value="">
                                            </div>
                                        </dd>
                                        <dd>-</dd>
                                        <dd>
                                            <div class="showEnd showTime" id="showEnd">
                                                <input name="endtime" id="endtime" type="hidden" value="">
                                            </div>
                                        </dd>
                                        <dd class="errinfo"></dd>
                                    </dl>
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.jobTitle') }}</span><span class="asterisk">*</span></dt>
                                        <dd class="oneWidth"><input type="text" name="post" id="post" class="oneWidth"
                                                                    value="" placeholder="{{ trans('english.pleaseEnter') }}"
                                                                    tip="{{ trans('english.pleaseEnter') }}"/></dd>
                                        <dd class="errinfo" id="postErr"></dd>
                                    </dl>
                                    <dl style=" height:100px;">
                                        <dt style=" height: 100px;"><span class="caption">{{ trans('english.jobDescription') }}</span></dt>
                                        <dd style=" height: 100px;"><textarea style=" width: 394px; height: 88px;"
                                                                              name="content" id="content"
                                                                              tip="{{ trans('english.pleaseJob') }}"
                                                                              placeholder="{{ trans('english.pleaseJobD') }}"></textarea>
                                        </dd>
                                        <dd class="errinfo" id="conErr"></dd>
                                    </dl>
                                    <dl style="margin-top:20px;">
                                        <dt></dt>
                                        <dd><input name="btn" id="saveWork" class="btn save" type="submit" value="{{ trans('english.conservation') }}"
                                                   onclick="workType(1)"></dd>
                                        <dd class="sAdd" style=" display: none"><input name="btn" id="addSaveWork"
                                                                                       class="btn save add"
                                                                                       onclick="workType(2)"
                                                                                       type="submit"
                                                                                       style="width: 100px"
                                                                                       value="{{ trans('english.saveAdd') }}"></dd>
                                        <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                   onclick="workCancel($(this))"></dd>
                                    </dl>
                                </div>
                            </form>
                        </div>
                    </div>
                    @if(count($workExpArr) > 0)
                        @foreach($workExpArr as $v)
                            <div class="listCon" id="listCon{{$v['id']}}">
                                <div class="listLeft"><span class="listTime">
                                        <span class="starttime">{{$v['starttime']}}</span>~<span
                                                class="endtime">{{$v['endtime']}}</span></span></div>
                                <div class="listCenter">
                                    <div class="tit">
                                        <strong class="post">{{str_limit($v['post'],24)}}</strong>
                                        <b>|</b>
                                        <span class="company">{{str_limit($v['company'],32)}}</span>
                                    </div>
                                    <div class="info">
                                        <ul>
                                            <li class="comkind">{{$v['comkind']}}</li>
                                            <b>-</b>
                                            <li class="scale">{{$v['scale']}}</li>
                                            <b>-</b>
                                            <li class="industry">{{$v['industry']}}</li>
                                        </ul>
                                        <div class="con">{{$v['content']}}</div>
                                    </div>
                                </div>
                                <div class="listRight">
                                    <span class="edit"><input name="" value="{{ trans('english.editor') }}" type="button"></span>
                                    <span class="del"><input name="" value="{{ trans('english.delete') }}" type="button"></span>
                                </div>
                            </div>
                        @endforeach
                    @endif
                </div>
            </div>
            {{--教育培训经历--}}
            <a name="edu"></a>
            <div class="resumeMange education">
                <div class="resumeTit">
                    <h2>{{ trans('english.educate') }}</h2>
                    <span class="resumeEdit resumeAdd"><a><i></i>{{ trans('english.append') }}</a></span>
                </div>
                {{--教育培训经历修改前样式--}}
                <div class="resumeMangeCon educationCon">
                    <div class="eduExp">
                        <div class="eduInput">
                            <div class="iCon iConOther eduInpCon">
                                <dl id="sel_type">
                                    <dt><span class="caption">{{ trans('english.educationType') }}</span><span class="asterisk">*</span></dt>
                                    <dd>
                                            <span>
                                                <input type="radio" name="edu_type" checked id="edu_type1"
                                                       class="radios" value="1"/>
                                                <label for="edu_type1">{{ trans('english.record') }}</label>
                                            </span>
                                             <span class="mLeftTen">
                                                <input type="radio" name="edu_type" id="edu_type2" class="radios"
                                                       value="2"/>
                                                <label for="edu_type2">{{ trans('english.skill') }}</label>
                                            </span>
                                    </dd>
                                    <dd class="errinfo"></dd>
                                </dl>
                                {{--学历教育--}}
                                <div id="eInput">
                                    <form action="{{url("personal/add_edu_exp")}}" method="post" name="eduForm"
                                          id="eduForm">
                                        {{csrf_field()}}
                                        <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                        <input type="hidden" name="edu_type" id="edu_type" value="1"/>
                                        <input type="hidden" name="otype" id="otype" value=""/>
                                        <input type="hidden" name="id" id="id" value=""/>

                                        <dl>
                                            <dt><span class="caption">{{ trans('english.schoolName') }}</span><span class="asterisk">*</span></dt>
                                            <dd style="width:296px;">
                                                <input type="text" name="school" id="school"
                                                                            style="width:280px;" placeholder="{{ trans('english.PleaseSchool') }}"
                                                                            tip="{{ trans('english.PleaseSchool') }}"/></dd>
                                            <dd class="errinfo" id="schErr"></dd>
                                        </dl>

                                        <dl>
                                            <dt><span class="caption">{{ trans('english.studyingTime') }}</span><span class="asterisk">*</span></dt>
                                            <dd>
                                                <div class="eduStart showTime" id="eduStart">
                                                    <input name="starttime" id="starttime" type="hidden" value="">
                                                </div>
                                            </dd>
                                            <dd>-</dd>
                                            <dd>
                                                <div class="eduEnd showTime" id="eduEnd">
                                                    <input name="endtime" id="endtime" type="hidden" value="">
                                                </div>
                                            </dd>
                                            <dd class="errinfo" ></dd>
                                        </dl>
                                        <dl class="edu">
                                            <dt><span class="caption">{{ trans('english.education') }}</span><span class="asterisk">*</span></dt>
                                            <dd>
                                                <input id="education" name="education" type="hidden">
                                                <div id="education_select" class="select" style="width:100px;">
                                                    <span><a></a></span><i></i></div>
                                            </dd>
                                            <dd>
                                                <div class="isexpectedsalary" style="margin: 0">
                                                    <input type="checkbox" class="checkBox" name="type" id="type"
                                                           value="1">
                                                    <label for="type">Whether the recruitment</label>
                                                </div>
                                            </dd>
                                            <dd class="errinfo"></dd>
                                        </dl>

                                        <dl>
                                            <dt><span class="caption">{{ trans('english.nameMajor') }}</span><span class="asterisk">*</span></dt>
                                            <dd class="oneWidth"><input type="text" name="speciality" id="speciality"
                                                                        class="oneWidth"
                                                                        placeholder="{{ trans('english.PleaseProf') }}"
                                                                        tip="{{ trans('english.PleaseProf') }}"/></dd>
                                            <dd class="errinfo" id="speErr"></dd>
                                        </dl>
                                        <dl style=" height:100px;">
                                            <dt style=" height: 100px;"><span class="caption">{{ trans('english.description') }}</span></dt>
                                            <dd style=" height: 100px;"><textarea style=" width: 394px; height: 88px;"
                                                                                  name="description" id="description"
                                                                                  tip="{{ trans('english.PleaseDesc') }}"
                                                                                  placeholder="{{ trans('english.PleaseDesc') }}"></textarea>
                                            </dd>
                                            <dd class="errinfo" id="descErr"></dd>
                                        </dl>
                                        <dl style="margin-top:20px;">
                                            <dt></dt>
                                            <dd><input name="btn" id="saveEdu" class="btn save" onclick="eduType(1)"
                                                       type="submit" value="{{ trans('english.conservation') }}"></dd>
                                            <dd class="sAdd" style=" display: none">
                                                <input name="btn" id="addSaveEdu" class="btn save" onclick="eduType(2)"
                                                       type="submit"
                                                       style="width: 100px" value="{{ trans('english.saveAdd') }}"></dd>
                                            <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                       onclick="eduCancel($(this))"></dd>
                                        </dl>
                                    </form>
                                </div>
                                {{--培训机构--}}
                                <div id="tInput" style="display: none;">
                                    <form action="{{url("personal/add_edu_exp")}}" method="post" name="trainForm"
                                          id="trainForm">
                                        {{csrf_field()}}
                                        <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                        <input type="hidden" name="otype" id="otype" value=""/>
                                        <input type="hidden" name="edu_type" id="edu_type" value="2"/>
                                        <input type="hidden" name="id" id="id" value=""/>
                                        <dl>
                                            <dt><span class="caption">{{ trans('english.trainingInst') }}</span><span class="asterisk">*</span></dt>
                                            <dd style="width:296px;"><input type="text" name="school" id="school"
                                                                            style="width:280px;" placeholder="{{ trans('english.PleaseInst') }}"
                                                                            tip="{{ trans('english.PleaseInst') }}"/></dd>
                                            <dd class="errinfo"></dd>
                                        </dl>
                                        <dl>
                                            <dt><span class="caption">{{ trans('english.studyingTime') }}</span><span class="asterisk">*</span></dt>
                                            <dd>
                                                <div class="eduStart showTime" id="eduStart">
                                                    <input name="starttime" id="starttime" type="hidden" value="">
                                                </div>
                                            </dd>
                                            <dd>-</dd>
                                            <dd>
                                                <div class="eduEnd showTime" id="eduEnd">
                                                    <input name="endtime" id="endtime" type="hidden" value="">
                                                </div>
                                            </dd>
                                            <dd class="errinfo"></dd>
                                        </dl>
                                        <dl>
                                            <dt><span class="caption">{{ trans('english.training') }}</span><span class="asterisk">*</span></dt>
                                            <dd class="oneWidth"><input type="text" name="speciality" id="speciality"
                                                                        class="oneWidth"
                                                                        placeholder="{{ trans('english.PleaseProgram') }}"
                                                                        tip="{{ trans('english.PleaseProgram') }}"/></dd>
                                            <dd class="errinfo"></dd>
                                        </dl>
                                        <dl style=" height:100px;">
                                            <dt style=" height: 100px;"><span class="caption">{{ trans('english.description') }}</span></dt>
                                            <dd style=" height: 100px;"><textarea style=" width: 394px; height: 88px;"
                                                                                  name="description" id="description"
                                                                                  tip="{{ trans('english.PleaseDesc') }}"
                                                                                  placeholder="{{ trans('english.PleaseDesc') }}"></textarea>
                                            </dd>
                                            <dd class="errinfo"></dd>
                                        </dl>
                                        <dl style="margin-top:20px;">
                                            <dt></dt>
                                            <dd><input name="btn" id="saveEdu" class="btn save" onclick="eduType(1)"
                                                       type="submit" value="{{ trans('english.conservation') }}"></dd>
                                            <dd class="sAdd" style=" display: none">
                                                <input name="btn" id="addSaveEdu" class="btn save" onclick="eduType(2)"
                                                       type="submit"
                                                       style="width: 100px" value="{{ trans('english.saveAdd') }}"></dd>
                                            <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                       onclick="eduCancel($(this))"></dd>
                                        </dl>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                    @if(count($eduExpArr) > 0)
                        @foreach($eduExpArr as $v)
                            <div class="listCon" id="listCon{{$v['id']}}">
                                <div class="listLeft"><span class="listTime">
                                        <span class="starttime">{{$v['starttime']}}</span>~<span
                                                class="endtime">{{$v['endtime']}}</span>
                                    </span></div>
                                <div class="listCenter">
                                    <div class="tit">
                                        <strong class="education">@if($v['edu_type'] == '1'){{$v['education']}}@else{{$v['speciality']}}@endif</strong>
                                        <b>|</b>
                                        <span class="school">{{str_limit($v['school'],44)}}</span>
                                    </div>
                                    <div class="info">
                                        <span class="speciality">@if($v['edu_type'] == '1'){{str_limit($v['speciality'],50)}}@endif</span>
                                        <div class="con">{{$v['description']}}</div>
                                    </div>
                                </div>
                                <div class="listRight">
                                    <span class="edit"><input name="" value="{{ trans('english.editor') }}" type="button"></span>
                                    <span class="del"><input name="" value="{{ trans('english.delete') }}" type="button"></span>
                                </div>
                            </div>
                        @endforeach
                    @endif
                </div>
            </div>
            {{--项目经验--}}
            <a name="project"></a>
            <div class="resumeMange project">
                <div class="resumeTit">
                    <h2>{{ trans('english.project') }}</h2>
                    <span class="resumeEdit resumeAdd"><a><i></i>{{ trans('english.append') }}</a></span>
                </div>
                {{--项目经验修改前样式--}}
                <div class="resumeMangeCon projectCon">
                    <div class="projectExp">
                        <div class="projectInput">
                            <form action="{{url("personal/english/add_project_exp")}}" method="post" name="projectForm"
                                  id="projectForm">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <input type="hidden" name="otype" id="otype" value=""/>
                                <input type="hidden" name="id" id="id" value=""/>
                                <div class="iCon iConOther projectInpCon">
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.projectName') }}</span><span class="asterisk">*</span></dt>
                                        <dd style="width:296px;"><input type="text" name="project_name"
                                                                        id="project_name"
                                                                        style="width:280px;" placeholder="{{ trans('english.PleaseProject') }}"
                                                                        tip="{{ trans('english.PleaseProject') }}"/></dd>
                                        <dd class="errinfo" id="proErr"></dd>
                                    </dl>
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.projectTime') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <div class="projectStart showTime" id="projectStart">
                                                <input name="starttime" id="starttime" type="hidden" value="">
                                            </div>
                                        </dd>
                                        <dd>-</dd>
                                        <dd>
                                            <div class="projectEnd showTime" id="projectEnd">
                                                <input name="endtime" id="endtime" type="hidden" value="">
                                            </div>
                                        </dd>
                                        <dd class="errinfo"></dd>
                                    </dl>

                                    <dl>
                                        <dt><span class="caption">{{ trans('english.holdOffice') }}</span><span class="asterisk">*</span></dt>
                                        <dd class="oneWidth"><input type="text" name="post" id="post"
                                                                    class="oneWidth"
                                                                    placeholder="{{ trans('english.PleasePositions') }}"
                                                                    tip="{{ trans('english.PleasePositions') }}"/></dd>
                                        <dd class="errinfo" id="poErr"></dd>
                                    </dl>
                                    <dl style=" height:100px;">
                                        <dt style=" height: 100px;"><span class="caption">{{ trans('english.ProIntro') }}</span></dt>
                                        <dd style=" height: 100px;"><textarea class="PleaseIntro" style=" width: 394px; height: 88px;"
                                                                              name="content" id="content"
                                                                              tip="{{ trans('english.PleaseIntro') }}"
                                                                              placeholder="{{ trans('english.PleaseIntro') }}"></textarea>
                                        </dd>
                                        <dd class="errinfo" id="contErr"></dd>
                                    </dl>

                                    <dl style="margin-top:20px;">
                                        <dt></dt>
                                        <dd><input name="btn" id="saveProject" class="btn save" onclick="projectType(1)"
                                                   type="submit" value="{{ trans('english.conservation') }}"></dd>
                                        <dd class="sAdd" style=" display: none">
                                            <input name="btn" id="addSaveProject" class="btn save"
                                                   onclick="projectType(2)" type="submit"
                                                   style="width: 100px" value="{{ trans('english.saveAdd') }}"></dd>
                                        <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                   onclick="projectCancel($(this))"></dd>
                                    </dl>
                                </div>
                            </form>
                        </div>
                    </div>
                    @if(count($projectExpArr) > 0)
                        @foreach($projectExpArr as $v)
                            <div class="listCon" id="listCon{{$v['id']}}">
                                <div class="listLeft"><span class="listTime">
                                        <span class="starttime">{{$v['starttime']}}</span>~<span
                                                class="endtime">{{$v['endtime']}}</span>
                                    </span></div>
                                <div class="listCenter">
                                    <div class="tit">
                                        <strong class="project_name">{{str_limit($v['project_name'],24)}}</strong>
                                        <b>|</b>
                                        <span{{ trans('english.holdOffice') }}：</span><span class="post">{{str_limit($v['post'],18)}}</span>
                                    </div>
                                    <div class="info">
                                        <span class="con">{{$v['content']}}</span>
                                    </div>
                                </div>
                                <div class="listRight">
                                    <span class="edit"><input name="" value="{{ trans('english.editor') }}" type="button"></span>
                                    <span class="del"><input name="" value="{{ trans('english.delete') }}" type="button"></span>
                                </div>
                            </div>
                        @endforeach
                    @endif

                </div>

            </div>
            {{--语言能力--}}
            <a name="language"></a>
            <div class="resumeMange language">
                <div class="resumeTit">
                    <h2>{{ trans('english.language') }}</h2>
                    <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                </div>
                {{--语言能力修改前样式--}}
                <div class="resumeMangeCon languageCon">
                    <div class="listItem">
                        <ul>
                            @if(count($languageArr) > 0)
                                @foreach($languageArr as $v)
                                    <li>
                                        <strong class="name">{{$v['language']}}</strong><em>|</em>
                                        <span class="degree">
                                            <span class="level">{{$v['degree']}}</span>
                                            <em>|</em>
                                            <span class="cert">{{$v['level']}}</span>
                                        </span>
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>
                </div>
                {{--语言能力修改后样式--}}
                <div class="resumeMangeInput iCon languageInput">
                    <div class="listItemSel">
                        <div class="addAbility">{{ trans('english.mastery') }}</div>
                        <div class="selAbility">
                            <form method="post" name="languageForm" id="languageForm" onsubmit="return false">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <div class="additions"><a><i></i>{{ trans('english.adda') }}</a></div>
                                <div class="sopt">
                                    <span><input name="btn" id="saveLanguageSub" class="btn save" type="submit"
                                                 value="{{ trans('english.conservation') }}" onclick="saveLanguage($(this))"></span>
                                    <span><input name="btn" class="btn save cancel" type="button"
                                                 onclick="cancel('.languageCon','.languageInput',$(this))"
                                                 value="{{ trans('english.cancel') }}"></span>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            {{--技能专长--}}
            <a name="skill"></a>
            <div class="resumeMange skill">
                <div class="resumeTit">
                    <h2>{{ trans('english.expertise') }}</h2>
                    <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                </div>
                {{--技能专长修改前样式--}}
                <div class="resumeMangeCon skillCon">
                    <div class="listItem">
                        <ul>
                            @if(count($skillArr) > 0)
                                @foreach($skillArr as $v)
                                    <li>
                                        <strong class="name">{{$v['skillname']}}</strong><em>|</em>
                                        <span class="degree">
                                            <span class="level">{{$v['degree']}}</span>
                                        </span>
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>

                </div>
                {{--技能专长修改后样式--}}
                <div class="resumeMangeInput iCon skillInput">
                    <div class="listItemSel">
                        <div class="addAbility">{{ trans('english.skills') }}</div>
                        <div class="selAbility">
                            <form method="post" name="skillForm" id="skillForm" onsubmit="return false">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <div class="additions"><a><i></i>{{ trans('english.adda') }}</a></div>
                                <div class="sopt">
                                    <span><input name="btn" id="saveSkillSub" class="btn save" type="submit" value="{{ trans('english.conservation') }}"
                                                 onclick="saveSkill($(this))"></span>
                                    <span><input name="btn" class="btn save cancel" type="button"
                                                 onclick="cancel('.skillCon','.skillInput',$(this))" value="{{ trans('english.cancel') }}"></span>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            {{--证书--}}
            <a name="certificate"></a>
            <div class="resumeMange certificate">
                <div class="resumeTit">
                    <h2>{{ trans('english.certificate') }}</h2>
                    <span class="resumeEdit"><a><i></i>{{ trans('english.editor') }}</a></span>
                </div>
                {{--证书修改前样式--}}
                <div class="resumeMangeCon certificateCon">
                    <div class="listItem">
                        <ul>
                            @if(count($certificateArr) > 0)
                                @foreach($certificateArr as $v)
                                    <li>
                                        <strong class="name">{{$v['certificate_name']}}</strong><em>|</em>
                                        <span class="degree">
                                            <span class="level">{{$v['gettime']}}received</span>
                                        </span>
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>
                </div>
                {{--证书修改后样式--}}
                <div class="resumeMangeInput iCon certificateInput">
                    <div class="listItemSel">
                        <div class="addAbility">{{ trans('english.acquire') }}</div>
                        <div class="selAbility">
                            <form method="post" name="certificateForm" id="certificateForm" onsubmit="return false">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <div class="additions"><a><i></i>{{ trans('english.adda') }}</a></div>
                                <div class="sopt">
                                    <span><input name="btn" id="saveCertificateSub" class="btn save" type="submit"
                                                 value="{{ trans('english.conservation') }}" onclick="saveCertificate($(this))"></span>
                                    <span><input name="btn" class="btn save cancel" type="button"
                                                 onclick="cancel('.certificateCon','.certificateInput',$(this))"
                                                 value="{{ trans('english.cancel') }}"></span>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            {{--其它信息--}}
            <a name="other"></a>
            <div class="resumeMange other">
                <div class="resumeTit">
                    <h2>{{ trans('english.otherInfo') }}</h2>
                    <span class="resumeEdit resumeAdd"><a><i></i>{{ trans('english.append') }}</a></span>
                </div>
                {{--其它信息修改前样式--}}
                <div class="resumeMangeCon otherCon">
                    <div class="otherInfo" style="display: none">
                        <div class="otherInput">
                            <form action="{{url("personal/english/add_other")}}" method="post" name="otherForm"
                                  id="otherForm">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <input type="hidden" name="otype" id="otype" value=""/>
                                <input type="hidden" name="id" id="id" value=""/>
                                <div class="iCon iConOther otherInpCon">
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.theme') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <input id="title" name="title" type="hidden">
                                            <div id="title_select" class="select" style="width: 160px;">
                                                <span><a></a></span><i></i></div>
                                        </dd>
                                        <dd class="errinfo"></dd>
                                    </dl>
                                    <dl style=" height:100px;">
                                        <dt style=" height: 100px;"><span class="caption">{{ trans('english.contentDesc') }}</span><span
                                                    class="asterisk">*</span></dt>
                                        <dd style=" height: 100px;">
                                            <textarea class="ContentDesc" style=" width: 394px; height: 88px;"
                                                      name="content" id="content"
                                                      tip="{{ trans('english.PleaseContentDesc') }}"
                                                      placeholder="{{ trans('english.PleaseContentDesc') }}"></textarea>
                                        </dd>
                                        <dd class="errinfo" id="contDErr"></dd>
                                    </dl>
                                    {{--<script>--}}
                                        {{--//验证正折请输入英文名称--}}
                                        {{--var schoolName = '/[x{4e00}-x{9fa5}]+/u';--}}
                                        {{--$(document).ready(function(){--}}
                                            {{--$(".ContentDesc").change(function(){--}}
                                                {{--if(schoolName){--}}
                                                    {{--$("#contDErr").html('Please enter the English name');--}}
                                                {{--}--}}

                                            {{--});--}}
                                        {{--});--}}
                                    {{--</script>--}}
                                    <dl style="margin-top:20px;">
                                        <dt></dt>
                                        <dd>
                                            <input name="btn" id="saveProject" class="btn save" onclick="otherType(1)"
                                                   type="submit" value="{{ trans('english.conservation') }}">
                                        </dd>
                                        <dd class="sAdd" style=" display: none">
                                            <input name="btn" id="addSaveProject" class="btn save"
                                                   onclick="otherType(2)" type="submit"
                                                   style="width: 100px" value="{{ trans('english.saveAdd') }}">
                                        </dd>
                                        <dd>
                                            <input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                   onclick="otherCancel($(this))">
                                        </dd>
                                    </dl>
                                </div>
                            </form>
                        </div>
                    </div>
                    @if(count($otherArr) > 0)
                        @foreach($otherArr as $v)
                            <div class="listCon" id="listCon{{$v['id']}}">
                                <div class="listLeft"><span
                                            class="listTime otherTit">{{msubstr($v['title'],0,6)}}</span></div>
                                <div class="listCenter">
                                    <div class="tit titOther" style="position: absolute; width: 0px;"></div>
                                    <div class="info" style="padding:3px 37px 30px 25px;;"><p>{{$v['content']}}</p>
                                    </div>
                                </div>
                                <div class="listRight">
                                    <span class="edit"><input name="" value="{{ trans('english.editor') }}" type="button"></span>
                                    <span class="del"><input name="" value="{{ trans('english.delete') }}" type="button"></span>
                                </div>
                            </div>
                        @endforeach
                    @endif
                </div>
                {{--其它信息修改后样式--}}
            </div>

            {{--我的作品--}}
            <a name="works"></a>
            <div class="resumeMange works">
                <div class="resumeTit">
                    <h2>{{ trans('english.MyWork') }}</h2>
                    <span class="resumeEdit resumeUpload"><a><i></i>{{ trans('english.uploading') }}</a></span>
                </div>
                {{--其它信息修改前样式--}}
                <div class="resumeMangeCon worksCon">
                    <div class="worksFile">
                        <div class="worksInput">
                            <form action="{{url("personal/english/add_works")}}" method="post" name="worksForm"
                                  id="worksForm">
                                {{csrf_field()}}
                                <input type="hidden" name="resume_id" id="resume_id" value="{{$reArr['id']}}"/>
                                <input type="hidden" name="otype" id="otype" value=""/>
                                <input type="hidden" name="id" id="id" value=""/>
                                <div class="iCon iConOther worksInpCon">
                                    <dl>
                                        <dt><span class="caption">{{ trans('english.nameWork') }}</span><span class="asterisk">*</span></dt>
                                        <dd class="twoWidth"><input name="works_name" id="works_name"
                                                                    style="width: 390px;"
                                                                    placeholder="{{ trans('english.PleaseAName') }}"/></dd>
                                        <dd class="errinfo" id="worksErr"></dd>
                                    </dl>

                                    <dl style=" height:100px;">
                                        <dt style=" height: 100px;"><span class="caption">{{ trans('english.describe') }}</span></dt>
                                        <dd style=" height: 100px;"><textarea class="desc" style=" width: 394px; height: 88px;"
                                                                              name="description" id="description"
                                                                              placeholder="{{ trans('english.PleaseContentDesc') }}"></textarea></dd>
                                        <dd class="errinfo" id="describeErr"></dd>
                                    </dl>
                                    {{--<script type="text/javascript">--}}
                                        {{--//验证正折请输入英文名称--}}
                                        {{--var schoolName = '/[x{4e00}-x{9fa5}]+/u';--}}
                                        {{--$(document).ready(function(){--}}
                                            {{--$("#works_name").change(function(){--}}
                                                {{--if(schoolName){--}}
                                                    {{--$("#worksErr").html('Please enter the English name');--}}
                                                {{--}--}}

                                            {{--});--}}
                                            {{--$(".desc").change(function(){--}}
                                                {{--if(schoolName){--}}
                                                    {{--$("#describeErr").html('Please enter the English name');--}}
                                                {{--}--}}

                                            {{--});--}}
                                        {{--});--}}
                                    {{--</script>--}}
                                    <dl id="uploader">
                                        <dt><span class="caption">{{ trans('english.UploadPortfolios') }}</span><span class="asterisk">*</span></dt>
                                        <dd>
                                            <div id="picker">Select File</div>
                                        </dd>
                                    </dl>
                                    <dl style="height: auto; margin-top: 5px;">
                                        <dt></dt>
                                        <dd style="height: auto; width: 530px; line-height: 22px; color: #999">
                                            Allow file upload five works, a single biggest support 2 MB file；
                                            *Support for JPG, GIF, jpeg, PNG, doc, docx, PPT, PPTX, XLS, XLSX, PDF, TXT pictures and document format file
                                        </dd>
                                    </dl>

                                    <dl style="margin-top:20px;">
                                        <dt></dt>
                                        <dd><input name="btn" id="saveWorks" class="btn save" onclick="worksType(1)"
                                                   type="submit" value="{{ trans('english.conservation') }}"></dd>
                                        <dd class="sAdd" style=" display: none">
                                            <input name="btn" id="addSaveWorks" class="btn save"
                                                   onclick="worksType(2)" type="submit"
                                                   style="width: 100px" value="{{ trans('english.saveAdd') }}"></dd>
                                        <dd><input name="btn" class="btn save cancel" type="button" value="{{ trans('english.cancel') }}"
                                                   onclick="worksCancel($(this))"></dd>
                                    </dl>
                                </div>
                            </form>
                        </div>
                    </div>

                    <div class="listCon">
                        <ul>
                            @if(count($worksArr) > 0)
                                @foreach($worksArr as $v)
                                    <li id="liCon{{$v['id']}}">
                                        <div class="workImg">
                                            <span class="img"><a><img src="{{$v['imgurl']}}"></a></span>
                                            <span class="imgTit"><a>{{str_limit($v['works_name'],20)}}</a> </span>
                                        </div>
                                        <div class="operating">
                                            <span><a class="editFile">{{ trans('english.editor') }}</a> </span>
                                            <span><a class="delFile">{{ trans('english.delete') }}</a> </span>
                                        </div>
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>

                </div>
            </div>
            {{-------------------}}
        </div>
        <div class="stopper" style="margin-top:40px; "></div>
    </div>
    {{--简历侧边内容--}}
    <div class="mainSide" id="mainSide">
        <div class="mainSideFixed" id="mainSideFixed">
            <div class="completion">
                <span class="percentage"></span>
            </div>
            <div class="sList">
                <ul>
                    <li class="basicInfo"><a href="#basicInfo"><span>基本资料</span><i></i></a></li>
                    <li class="objective"><a href="#objective"><span>求职意向</span><i></i></a></li>
                    <li class="selfEvaluation"><a href="#selfEvaluation"><span>自我评价</span><i></i></a></li>
                    <li class="worker"><a href="#worker"><span>工作经历</span><i></i></a></li>
                    <li class="edu"><a href="#edu"><span>教育背景</span><i></i></a></li>
                    <li class="project"><a href="#project"><span>项目经验</span><i></i></a></li>
                    <li class="language"><a href="#language"><span>语言能力</span><i></i></a></li>
                    <li class="skill"><a href="#skill"><span>技能专长</span><i></i></a></li>
                    <li class="certificate"><a href="#certificate"><span>证书</span><i></i></a></li>
                    <li class="other"><a href="#other"><span>其它信息</span><i></i></a></li>
                    <li class="works"><a href="#works"><span>我的作品</span><i></i></a></li>
                </ul>
            </div>
            <div class="preview"><a href="{{url('resume_'.idEncryption($reArr['id']).'.html')}}" target="_blank"></a></div>
            {{--有没开启amp测评功能--}}
            @if(!empty(Site::get('apmKey')))
                <div class="evaluation"><a href="{{url('personal/english/apm_activity_list/'.$reArr['id'])}}" target="_blank"></a></div>
            @endif
        </div>
    </div>
@endsection
{{--JS部分--}}
@section('footerjs')
    @parent
    <script type="text/javascript" src="{{EnResources::jsOption('resume')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/jquery/jquery.validate.extend.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/jquery/jquery.form.js')}}"></script>

    <script type="text/javascript" src="{{asset('/default/js/personal/enresume_manage.js')}}"></script>
    <!--弹出层显示时间加载插件-->
    <script type="text/javascript" src="{{asset('/default/js/jquery/enjquery.autoTime.js')}}"></script>
    <!--地区三级联动-->
    <script type="text/javascript" src="{{asset('/default/js/jquery/enjquery.select.area.js')}}"></script>
    {{--工作岗位--}}
    <script type="text/javascript" src="{{asset('/default/js/jquery/enjquery.position.js')}}"></script>
    {{--工作地区--}}
    <script type="text/javascript" src="{{asset('/default/js/jquery/enjquery.area.js')}}"></script>
    {{--技能专长--}}
    <script type="text/javascript" src="{{asset('/default/js/personal/enoptname.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/jquery/enjquery.skill.js')}}"></script>
    {{--证书--}}
    <script type="text/javascript" src="{{asset('/default/js/jquery/jquery.certificate.js')}}"></script>
    <script type="text/javascript">
        //设置图标背景
        $('#resume_en').addClass('on').find('i').css('background-position', '-26px 0px');
        var mainCon = $('#mainCon'); //主体对象
        var _token = "{{csrf_token()}}";
        //简历基本信息-----------------------------------------------------------------------------------------------------
        var resumeJson = {!!  $resumeJson !!};
        var objectiveJson = {!!  $objectiveJson !!};
        var evaluationJson = {!!  $evaluationJson !!};

        //简历基本信息select赋值
        option_work_year.unshift({"text": "{{ trans('english.inexperience') }}", "value": ''});
        var selectWork_year = mainCon.find('#basicForm').find("#work_year").select({
            defaults: null,
            defaultFill: [{"value": '', "text": "{{ trans('english.PleaseSelect') }}"}],
            optionData: option_work_year
        });
        var selectStatus = mainCon.find('#basicForm').find("#job_status").select({
            defaults: null,
            defaultFill: [{"value": '', "text": "{{ trans('english.PleaseSelect') }}"}],
            optionData: option_job_status
        });
        var selectEdu = mainCon.find('#basicForm').find("#education").select({
            defaults: null,
            defaultFill: [{"value": '', "text": "{{ trans('english.PleaseSelect') }}"}],
            optionData: option_education
        });
        var selectMarital = mainCon.find('#basicForm').find("#marital").select({
            defaults: null,
            defaultFill: [{"value": '', "text": "{{ trans('english.PleaseSelect') }}"}],
            optionData: option_marital
        });
        option_expectedsalary.unshift({"text": "{{ trans('english.PleaseSelect') }}", "value": ''});
        var selectExpectedsalary = mainCon.find('#objectiveForm').find("#expectedsalary").select({
            optionData: option_expectedsalary
        });

        //日历时间
        $("#showTime").autoTime({
            year: "year",                               //弹出层年份
            month: "month",                             //弹出层月份
            established: '#birthday',                   //成立年份id
            hiddenInp: resumeJson.birthday              //成立年份id
        });
        //所在地三级地区联动
        $("#homeaddress").selectArea({
            'province': $('#province'),
            'area': $('#area'),
            'city': $('#city'),
            'selected': "" + resumeJson.homeaddress
        });
        //户籍三级地区联动
        $("#census").selectArea({
            'province': $('#censusProvince'),
            'area': $('#censusArea'),
            'city': $('#censusCity'),
            'selected': "" + resumeJson.census
        });

        //工作经历-----------------------------------------------------------------------------------------------------
        var appendWorkJson;
        var selectComkind = mainCon.find('.worker').find("#comkind").select({optionData: option_comkind, selected: 5});
        var selectScale = mainCon.find('.worker').find("#scale").select({
            optionData: option_employee_num,
            defaults: null
        });
        var selectIndustry = mainCon.find('.worker').find("#industry").select({
            optionData: option_industry,
            defaults: null
        });
        //获取工作经历空表单
        var wInput = mainCon.find('.worker').find('.workerExp').html();

        //工作经历入职时间
        mainCon.find('.worker').find("#showStart").autoTime({
            year: "startYear",                               //弹出层年份
            month: "startMonth",                             //弹出层月份
            established: '#starttime'                       //入职时间
        });
        mainCon.find('.worker').find("#showEnd").autoTime({
            year: "endYear",                               //弹出层年份
            month: "endMonth",                             //弹出层月份
            established: '#endtime',                       //入职时间
            toDate: true                                    //是不是显示至今
        });

        //教育经历  -----------------------------------------------------------------------------------------------------
        var appendEduJson;
        var selectEducation = mainCon.find('.education').find("#education").select({
            optionData: option_education,
            defaults: null
        });
        //获取教育经历空表单
        var eduInput = mainCon.find('.education').find('.eduExp').html();

        //教育经历入职时间
        mainCon.find('.education').find("#eduStart").autoTime({
            year: "startYear",                               //弹出层年份
            month: "startMonth",                             //弹出层月份
            established: '#starttime'                       //入职时间
        });
        mainCon.find('.education').find("#eduEnd").autoTime({
            year: "endYear",                               //弹出层年份
            month: "endMonth",                             //弹出层月份
            established: '#endtime',                       //入职时间
            toDate: true                                    //是不是显示至今
        });

        //项目经验  -----------------------------------------------------------------------------------------------------
        var appendProjectJson;
        //获取项目经验空表单
        var projectInput = mainCon.find('.project').find('.projectExp').html();

        //项目经验入职时间
        mainCon.find('.project').find("#projectStart").autoTime({
            year: "startYear",                               //弹出层年份
            month: "startMonth",                             //弹出层月份
            established: '#starttime'                       //入职时间
        });
        mainCon.find('.project').find("#projectEnd").autoTime({
            year: "endYear",                               //弹出层年份
            month: "endMonth",                             //弹出层月份
            established: '#endtime',                       //入职时间
            toDate: true                                    //是不是显示至今
        });

        //语言能力  -----------------------------------------------------------------------------------------------------
        var languageJson = {!!  $languageJson !!};
        var languageid = 0;

        //技能专长  -----------------------------------------------------------------------------------------------------
        var skillJson = {!!  $skillJson !!};
        var skillid = 0;

        //证书  -----------------------------------------------------------------------------------------------------
        var certificateJson = {!!  $certificateJson !!};
        var certificateid = 0;

        //其他信息  -----------------------------------------------------------------------------------------------------
        var otherJson = {!!  $otherJson !!};
        var appendOtherJson;
        //获取项目经验空表单
        var otherInput = mainCon.find('.otherInfo').html();
        option_title.push({"text": "The custom", "value": 'zdy'});

        //我的作品  -----------------------------------------------------------------------------------------------------
        var appendWorksJson;
        var uploader;//作品上传
        var fileUrlImg = [];//作品上传
        var fileCon = [];//作品上传
        var ptype = false;
        var photoJson = {!! $photoJson !!};
        //文件名前缀
        var asset = '{{asset('')}}';
        // console.log(photoJson)
        //获取项目经验空表单
        var worksInput = mainCon.find('.works').find('.worksFile').html();
    </script>
    <script type="text/javascript">
        $(function(){
            //基本信息编辑
            mainCon.find("#basicInfo").find('.basicInfoCon').find('.resumeEdit a').click(function(){
                editorBasic();
            });
            //求职意向
            mainCon.find('.objective').find('.resumeEdit a').click(function(){
                editObjective($(this));
            });
            //自我评价
            mainCon.find('.selfEvaluation').find('.resumeEdit a').click(function(){
                editEvaluation($(this));
            });
            //工作经历
            mainCon.find('.worker').find('.resumeAdd a').click(function(){
                addWorkExp($(this), 'add');
            });
            @if(count($workExpArr) > 0)
                @foreach($workExpArr as $v)
                    mainCon.find('.worker').find('#listCon' + '{{$v['id']}}').find('.edit input').click(function(){
                editWorker($(this), '{{$v['id']}}');
            });
            mainCon.find('.worker').find('#listCon' + '{{$v['id']}}').find('.del input').click(function(){
                delWorker('{{$v['id']}}')
            });
            @endforeach
            @endif

            //教育培训经历
            mainCon.find('.education').find('.resumeAdd a').click(function(){
                addEduExp($(this), 'add');
            });
            @if(count($eduExpArr) > 0)
                @foreach($eduExpArr as $v)
                    mainCon.find('.education').find('#listCon' + '{{$v['id']}}').find('.edit input').click(function(){
                editEdu($(this), '{{$v['id']}}');
            });
            mainCon.find('.education').find('#listCon' + '{{$v['id']}}').find('.del input').click(function(){
                delEdu('{{$v['id']}}')
            });
            @endforeach
            @endif

            //项目经验
            mainCon.find('.project').find('.resumeAdd a').click(function(){
                addProjectExp($(this), 'add');
            });
            @if(count($projectExpArr) > 0)
                @foreach($projectExpArr as $v)
                    mainCon.find('.project').find('#listCon' + '{{$v['id']}}').find('.edit input').click(function(){
                editProject($(this), '{{$v['id']}}');
            });
            mainCon.find('.project').find('#listCon' + '{{$v['id']}}').find('.del input').click(function(){
                delProject('{{$v['id']}}')
            });
            @endforeach
            @endif

            //语言能力编辑
            mainCon.find('.language').find('.resumeEdit a').click(function(){
                editorLanguage($(this));
            });
            //增加语言能力选项
            mainCon.find('.language').find('.additions a').click(function(){
                languageid++;
                addLanguageOpt($(this), languageid);
            });

            //技能专长编辑
            mainCon.find('.skill').find('.resumeEdit a').click(function(){
                editorSkill($(this));
            });
            //增加技能选项
            mainCon.find('.skill').find('.additions a').click(function(){
                skillid++;
                addSkillOpt($(this), skillid);
            });

            //证书编辑
            mainCon.find('.certificate').find('.resumeEdit a').click(function(){
                editorCertificate($(this));
            });
            //增加证书选项
            mainCon.find('.certificate').find('.additions a').click(function(){
                certificateid++;
                addCertificateOpt(certificateid);
            });

            //其他信息
            mainCon.find('.other').find('.resumeAdd a').click(function(){
                addOther($(this), 'add');
            });
            @if(count($otherArr) > 0)
                @foreach($otherArr as $v)
                    mainCon.find('.other').find('#listCon' + '{{$v['id']}}').find('.edit input').click(function(){
                editOther($(this), '{{$v['id']}}');
            });
            mainCon.find('.other').find('#listCon' + '{{$v['id']}}').find('.del input').click(function(){
                delOther('{{$v['id']}}')
            });
            @endforeach
            @endif

            //我的作品
            mainCon.find('.works').find('.resumeUpload a').click(function(){
                addWorks($(this), 'add');
            });
            @if(count($worksArr) > 0)
            @foreach($worksArr as $k => $v)
            //编辑我的作品
            mainCon.find('.works').find('.listCon').find('#liCon' + '{{$v['id']}}').find('.operating .editFile').click(function(){
                editWorks($(this), '{{$v['id']}}');
            });
            //删除我的作品
            mainCon.find('.works').find('.listCon').find('#liCon' + '{{$v['id']}}').find('.operating .delFile').click(function(){
                delWorks('{{$v['id']}}')
            });
            //查看图片
            mainCon.find('.works').find('.listCon').find('#liCon' + '{{$v['id']}}').find('.workImg').click(function(){
                //console.log(photoJson) //当前图片的一些信息
                rotateImg(photoJson['{{$v['id']}}']);
            });
            @endforeach
            @endif
            //右边添加点击事件
            var mainSide = $("#mainSide").find('.sList');
            mainSide.find('.basicInfo a').click(function(){
                editorBasic();
            });
            mainSide.find('.objective a').click(function(){
                editObjective(mainCon.find('.objective').find('.resumeEdit a'));
            });
            mainSide.find('.selfEvaluation a').click(function(){
                editEvaluation(mainCon.find('.selfEvaluation').find('.resumeEdit a'));
            });
            mainSide.find('.worker a').click(function(){
                addWorkExp(mainCon.find('.worker').find('.resumeAdd a'), 'add');
            });
            mainSide.find('.edu a').click(function(){
                addEduExp(mainCon.find('.education').find('.resumeAdd a'), 'add');
            });
            mainSide.find('.project a').click(function(){
                addProjectExp(mainCon.find('.project').find('.resumeAdd a'), 'add');
            });
            mainSide.find('.language a').click(function(){
                editorLanguage(mainCon.find('.language').find('.resumeEdit a'));
            });
            mainSide.find('.skill a').click(function(){
                editorSkill(mainCon.find('.skill').find('.resumeEdit a'));
            });
            mainSide.find('.certificate a').click(function(){
                editorCertificate(mainCon.find('.certificate').find('.resumeEdit a'));
            });
            mainSide.find('.other a').click(function(){
                addOther(mainCon.find('.other').find('.resumeAdd a'), 'add');
            });
            mainSide.find('.works a').click(function(){
                addWorks(mainCon.find('.works').find('.resumeUpload a'), 'add');
            });
        });
    </script>
    <script type="text/javascript">
        $(function(){
            mainCon.find('.basicInfoCon').find('.bLfet').find('.frame').hover(function(){
                $(this).find('.editavatar').show();
            }, function(){
                $(this).find('.editavatar').hide();
            });
            uploadAvatar('#avatar', '');
        });
        //上传头像
        var uploadavatar = resumeJson.avatar;
        function uploadAvatar(upavatar, showavatar){
            var uploaderavatar = WebUploader.create({
                auto: true,
                formData: {
                    _token: _token
                },
                duplicate: true,
                multiple: false,
                // swf文件路径
                swf: BASE_URL + 'vendor/webuploader/dist/Uploader.swf',
                // 文件接收服务端。
                server: "{{asset('/personal/uploadavatar')}}",
                // 选择文件的按钮。可选。
                // 内部根据当前运行是创建，可能是input元素，也可能是flash.
                pick: upavatar,
                compress: {
                    width: 200,
                    height: 200,
                    // 图片质量，只有type为`image/jpeg`的时候才有效。
                    //quality: 100,
                    // 是否允许放大，如果想要生成小图的时候不失真，此选项应该设置为false.
                    allowMagnify: true,
                    // 是否允许裁剪。
                    crop: true,
                    allowMagnify: true,
                    compressSize: 0,
                    noCompressIfLarger: false
                },
                accept: {
                    title: 'Images',
                    extensions: 'gif,jpg,jpeg,bmp,png',
                    mimeTypes: '.gif,.jpg,.jpeg,.bmp,.png'
                },
                // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
                fileSingleSizeLimit: 2000 * 1024
            });
            //上传文件出错时
            uploaderavatar.on('error', function(file){
                if(file == 'F_EXCEED_SIZE'){
                    layer.msg('File size is no more than 2 m!', {time: 1200});
                }
                if(file == 'F_DUPLICATE'){
                    layer.msg('The file already exists queue, cannot repeat upload!', {time: 1200});
                }
                if(file == 'Q_EXCEED_NUM_LIMIT'){
                    layer.msg('You have already upload files!', {time: 1200});
                }
                if(file == 'Q_TYPE_DENIED'){
                    layer.msg('File types do not match, please upload again', {time: 1200});
                }
            });
            uploaderavatar.on('uploadSuccess', function(file, response){
                if(response.status == 200){
                    $(upavatar).find('img').attr("src", response.url);
                    uploadavatar = response.url;
                    if(showavatar != ''){
                        $(showavatar).find('img').attr("src", response.url);
                    }
                }else{
                    layer.msg(response.info);
                }
            });
        }
    </script>
    {{--计算完成度--}}
    <script type="text/javascript" src="{{asset('/default/js/personal/completion.js')}}"></script>
    <script type="text/javascript" src="{{asset('/vendor/webuploader/dist/webuploader.min.js')}}"></script>
@endsection